
matlabsimpledb(fullfile(pwd, 'dogExample.sqlite'));
ActiveRecord.createTable('dog age int color text');

d1 = Dog(1, 'White');
d1.save();

d2 = Dog(5, 'Black');
d2.save();

d3 = Dog(2, 'White');
d3.save();

d4 = Dog(10, 'Black and White');
d4.save();

d5 = Dog(10, 'White');
d5.save();

dogs = d1.all();
whiteDogs = d1.findBy('color', 'White');